package com.bitin.adorn.modules.system.service;

import com.bitin.adorn.modules.system.domain.Role;

import java.util.List;

/**
 * @author Mr.Lu
 * @since 2024/5/30 15:51
 */
public interface RoleService {
    Role add(Role role);

    List<Role> list();

    Role findById(Long id);

    void deleteById(Long id);

    Role bind(Long id, Long userId);
}
